{include file="static/appm/tpl_header.html" /}
<body xmlns="http://www.w3.org/1999/html">
<div class="weui-tab container">
    <div class="weui-flex bg-faded aurora-edit-head">
        <div class="weui-flex__item">
            <div class="placeholder">
                <a href="{:urlBuild('!.faccount')}">财务账单</a> / 详情
                {if condition="!empty($sum.name)"}
                    - <span style="font-size: 0.75em;">{$sum.name}</span>
                {/if}
            </div>
        </div>
    </div>
    <div class="weui-panel">
        <div class="weui-form-preview">
            <div class="weui-form-preview__hd">
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">金额</label>
                    <em class="weui-form-preview__value">{$sum.money}</em>
                </div>
            </div>
            <div class="weui-form-preview__bd">
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">类型</label>
                    <span class="weui-form-preview__value">
                        {if condition="'OU' eq $sum.type"}
                            支出
                        {else}
                            输入
                        {/if}
                    </span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">日期</label>
                    <span class="weui-form-preview__value">{$sum.date}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">名称</label>
                    <span class="weui-form-preview__value">{$sum.name}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">事务甲方</label>
                    <span class="weui-form-preview__value">{$sum.master}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">科目</label>
                    <span class="weui-form-preview__value">{$sum.subject}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">标签</label>
                    <span class="weui-form-preview__value">{$sum.tagid_desc}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">城市</label>
                    <span class="weui-form-preview__value">{$sum.city}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">详情</label>
                    <span class="weui-form-preview__value">{$sum.descrip}</span>
                </div>
                <div class="weui-form-preview__item">
                    <label class="weui-form-preview__label">维护时间</label>
                    <span class="weui-form-preview__value">{$sum.mtime}</span>
                </div>
            </div>
            <div class="weui-form-preview__ft">
                <a class="weui-form-preview__btn weui-form-preview__btn_default" href="{$url.edit}" style="color:#669966;">
                    <i class="fa fa-pencil-square"></i> 编辑
                </a>
                <a class="weui-form-preview__btn weui-form-preview__btn_default" href="{$url.addTpl}" style="color:#666666;">
                    <i class="fa fa-plus-circle"></i> 模板新增
                </a>
                <a class="weui-form-preview__btn weui-form-preview__btn_default" href="{$url.detail}" style="color:#CCCC00;">
                    <span class="weui-badge">{$sum.detail_ctt}</span>财务明细
                </a>
            </div>
        </div>
    </div>
</div>
</body>
</html>